package com.niit.beans;

/**
 * SingleDog类
 * 
 * @author Anna
 */
public class SingleDog {
	
	public void init() {
		System.out.println("调用了SingleDog类中的init~~~~~~");
	}
	
	public void dispose() {
		System.out.println("调用了SingleDog类中的dispose~~~~~~");
	}
	
	public SingleDog() {
		System.out.println("实例化了SingleDog！！！");
	}
    
    public void eat(){
        System.out.println("这是一只单身狗，单身狗吃狗粮！");
    }
}
